<?php

session_start();

/* Global Config Array */
$GLOBALS['config'] = array(
    'mysql' => array(
        'host'      => 'localhost',
        'username'  => 'test',
        'password'  => 'qwerty',
        'db'        => 'test'
    ),
	'db_tables' => array ( 
        'products'		=> 'apocy_products',
		'recipes'		=> 'apocy_recipes',
		'idJoinTable'	=> 'apocy_products2recipes',
        'users'			=> 'apocy_users'
    ),
	'URI' => '/apocy_web/'
);

/* Autoload  */
spl_autoload_register(function($class) {
    require_once './app/controllers/' . $class . '.php';
        });